<ul class="record_actions">
    <li>
        <a href="{{ path('sujet') }}">
            Back to the list
        </a>
    </li>
    <li>
        <a href="{{ path('sujet_edit', { 'id': entity.id }) }}">
            Edit
        </a>
    </li>
    <li>
        <form action="{{ path('sujet_delete', { 'id': entity.id }) }}" method="post">
            {{ form_widget(delete_form) }}
            <button type="submit">Delete</button>
        </form>
    </li>
</ul>